package review;

/**
 * @License: (C) Copyright 2013-2022
 * @Contact: abcque@outlook.com
 * @IDE: IntelliJ IDEA
 * @Encoding: utf-8
 * @Project: st2214st2215
 * @Package: review
 * @File: SumAll.java
 * @Time: 2023/2/28 15:05
 * @Author: abcque
 * @Description: 计算 1-100 所欲的证书之和
 * @Modifier:
 * @ModifyDate:
 * @ModifyRemark:
 */
public class SumAll {
    public static void main(String[] args) {
        int sum = 0;
        for (int i = 1; i <= 100; i++) {
            sum = sum + i;
        }
        System.out.println("sum = " + sum);
    }
}
